<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultZoom.aspx.cs" Inherits="DefaultZoom" ResponseEncoding="utf-8" Culture="lv-LV" MasterPageFile="~/MasterPage.master" EnableEventValidation="true" %>


<%@ Import Namespace="System.Data" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<script type="text/javascript">
    <!--
        if ((screen.width == 1280) && (screen.height == 768)) {
            document.body.background = "backgound_Hi.png";
        }
        else if ((screen.width == 1280) && (screen.height == 800)) {
            document.body.background = "backgound_Hi.png";
        }
        else if ((screen.width == 1280) && (screen.height == 960)) {
            document.body.background = "backgound_Hi.png";
        }
        else if ((screen.width == 1024) && (screen.height == 768)) {
            document.body.background = "backgound.png";
        }
        else {
            document.body.background = "backgound_Lo.png";
        }
//-->
    </script>--%>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta property="fb:admins" content="{kristaps.kaulins.9}"/>                                         

         <center> <table cellpadding="0" cellspacing="0" 
                  
                  
                  
                 
                 style="text-align: left; border-right-style: solid; border-left-style: solid; border-right-width: 1px; border-left-width: 1px; border-right-color: #CCCCCC; border-left-color: #CCCCCC;" 
                 align="left">
           <tr>
                <td class="tableCss1" width="660px" align="center" 
                    style="padding: 10px; text-align: left; ">
                  <asp:Label ID="virsraksts_css" runat="server" CssClass="virsrakstsLink"><%= HttpContext.Current.Session["vraksts"]%></asp:Label>
                </td>
                
                                <td rowspan="3" width="270px" align="center" 
                    
                    
                    
                    style="vertical-align: top; border-left-style: solid; border-left-width: 1px; border-left-color: #CCCCCC;">
                                   <br />
                                      


                       <br />


<div>
            <asp:Repeater ID="Repeater3" runat="server" >
        <HeaderTemplate>
            <asp:Label ID="Label2" runat="server" CssClass="MC_headbuttons">NEW PRODUCTS</asp:Label>
            <br />
            <table width="100%">
        </HeaderTemplate>
        <ItemTemplate>
        <tr>
            <td style="vertical-align: middle; text-align: center">
                                                <%# DataBinder.Eval(Container.DataItem, "BildeLink")%>
                                                <br />
                                                <%# DataBinder.Eval(Container.DataItem, "FullLink")%>
                                                <%# DataBinder.Eval(Container.DataItem, "AkcijCena")%>
                                                <br />
            </td></tr>
        </ItemTemplate>
        <AlternatingItemTemplate>
            <tr><td style="vertical-align: middle; text-align: center">
                                                <%# DataBinder.Eval(Container.DataItem, "BildeLink")%>
                                                <br />
                                                <%# DataBinder.Eval(Container.DataItem, "FullLink")%>
                                                <%# DataBinder.Eval(Container.DataItem, "AkcijCena")%>
                                                <br />
            </td></tr>
        </AlternatingItemTemplate>
        <FooterTemplate>
            
            </table>
            <br />
            <asp:HyperLink ID="HyperLinkMOREsale" runat="server" CssClass="links" 
                NavigateUrl="http://shop.parbmx.com//Default.aspx?value=More">more</asp:HyperLink>
            <hr align="center" color="#808080" size="3px" width="100%" />
        </FooterTemplate>
    </asp:Repeater> </div>


&nbsp;<!-- Facebook Badge START --><a href="http://www.facebook.com/pages/Parbmx/160214534015529" target="_TOP" title="Parbmx"><img src="http://badge.facebook.com/badge/160214534015529.1372.471839123.png" width="120" height="147" style="border: 0px;" /></a><br/><a href="http://www.facebook.com/business/dashboard/" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Make your own badge!">pievienojies</a><!-- Facebook Badge END -->
                 
                </td>
                                
                </tr>
                <tr>
                <td valign="top">
                <div align="center">
                    <asp:HyperLink ID="HyperLink1" runat="server" ></asp:HyperLink>
                    <%--<a href= "<%= HttpContext.Current.Session["bildebig"]%>" target="_self"><img src="<%= HttpContext.Current.Session["bilde"]%>" /></a> --%>
                </div>
                         <br /> <div class="tableCss_zoom" 
                        style="padding-left: 10px; text-align: left; " align="left">
                   <%= HttpContext.Current.Session["raksts"]%>
                             
                </div>
          <br />
          
                  <div style="padding-left: 10px">
            <div class="tableCssDat">
             <%= HttpContext.Current.Session["autors"]%> - dat:<%= HttpContext.Current.Session["dat"]%> - <%= HttpContext.Current.Session["slists"]%></div></br> 
 <div class="fb-like" data-href="http://parbmx.com/DefaultZoom.aspx?value=<%=HttpContext.Current.Session["vraksts"]%>" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>                                        
            <hr align="left" width="95%" size="3" color="black"  />
                <asp:Label ID="Label5" runat="server" Text="Comments" align="left" class="tableCssDat"></asp:Label>
            </div>
<div id="fb-comment-header">Komentet izmantojot facebook </div>
    <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/lv_LV/sdk.js#xfbml=1&appId=748166038554044&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="http://parbmx.com/DefaultZoom.aspx?value=<%=HttpContext.Current.Session["vraksts"]%>" data-num-posts="5" data-width="570"></div>

<!-- <div id="test_div"><a href="DefaultZoom.aspx?value=<%=HttpContext.Current.Session["vraksts"]%>" title="test link"> test link </a> </div> -->
         <!-- <div>     
         <table>
         <tr>
         
         
                
                        <td style="padding-left: 10px" align="left" class="tableCss1">
                <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" 
                                onitemcommand="Repeater1_ItemCommand">
                    <HeaderTemplate>
                        
                    </HeaderTemplate>
                    <ItemTemplate>
                <table width="95%">
                       <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                        </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label3" runat="server" Text="Label" CssClass="tableCssDat"></asp:Label>
                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Enabled="False"></asp:LinkButton>                               
                                 <asp:Label ID="Label4" runat="server" Text="Label" ></asp:Label>
                            </td>
                            </tr>
                           
                    </table>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                      <table width="95%"> 
                       <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                        </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label3" runat="server" Text="Label" CssClass="tableCssDat"></asp:Label>
                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Enabled="False"></asp:LinkButton>                       
                                 <asp:Label ID="Label4" runat="server" Text="Label"></asp:Label>
                            </td>
                            </tr>
                    </table>
                    </AlternatingItemTemplate>
                    <SeparatorTemplate>
                             <hr align="left" width="95%" size="3" color="#EEECFF"  />
                    </SeparatorTemplate>
                    <FooterTemplate>
                      </FooterTemplate>
                </asp:Repeater></td>  
                </tr>
         </table> 
         </div>
        
                <div style="padding-left: 10px; background-color: #EEECFF;">
                <br /> <asp:Label ID="Label6" runat="server" Text="Post a new comment" class="tableCssDat"></asp:Label></div>
                
                 <div style="padding-left: 10px">
                     <asp:TextBox ID="TextBox_Koment_Vards" runat="server" Height="22px"></asp:TextBox>
                  <asp:Label ID="Label7" runat="server" Text="Name" class="tableCssDat"></asp:Label>  
                   <asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                            runat="server" ErrorMessage="Enter Name" ControlToValidate="TextBox_Koment_Vards"></asp:RequiredFieldValidator>
                </div>

                <div style="padding-left: 10px">
                    <asp:TextBox ID="TextBox__komentari" runat="server" Height="78px" TextMode="MultiLine"
                        Width="421px"></asp:TextBox><asp:Label ID="Label8" runat="server" Text="Comment" align="right" class="tableCssDat"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                    runat="server" ErrorMessage="Enter Comment" ControlToValidate="TextBox__komentari">
                    </asp:RequiredFieldValidator>   
                </div>
    
                <div style="padding-left: 10px">
                    <asp:Button ID="Button_KomentAdd" runat="server" Text="Submit Comment" 
                        onclick="Button_KomentAdd_Click" style="float: left" /> -->

<br /><br />
                    
                   <div lang="lv" style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px"><b>COMMENT POLICY</b><br />
                    Rakstot koment&#257;ru esi piekl&#257;j&#299;gs, neraksti rupj&#299;bas un neaizskar citus koment&#257;ra autorus. Esi korekts un izkl&#257;sti savas domas par t&#275;mu. Citas t&#275;mas tu vienm&#275;r vari apspriest PARBMX forum&#257;. V&#275;lams izmatot v&#257;rdu vai niku, p&#275;c kura, citi lietot&#257;ji tevi var atpaz&#299;t. Nekorekti, rupji un neatbilsto&#353;i koment&acirc;ri tiks izdz&#275;sti. Jauku tev dienu PARBMX.
                       </div>
                 
                </div>
          </td>
          </tr>
                
                </table>
                </center>

</asp:Content>
